<?
	include_once "../../include/conn.php";
	include_once "../../api/config.php";
	/**************************************
	 * ************ 园区列表 ***********
	 * ************************************/
	$areaid = $_GET['areaid'];


	//开始数据处理
	$results = array('code' => 0,'msg'=>'数据正常返回');//用于正常有数据输出的

	$cmd = "select * from vbyzc_vote_scope where areaid='$areaid' order by id";
	$rs = mysql_query($cmd);

	// 遍历结果
	while ($row = mysql_fetch_assoc($rs)) {
		$results['dataList'][] = $row;
	}

	// //////////////////输出数据////////////////////////////////
	echo decodeUnicode(json_encode($results));
	mysql_close();
?>